package com.fastloan.mgt.daily.model;

import com.kawins.base.baseabs.BaseModel;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "W_WORK_LOCATION")
public class WorkLocation extends BaseModel<Integer> {
    /**
     * 工作地点ID
     */
    @Id
    @Column(name = "WORK_LOCATION_ID")
    private Integer workLocationId;

    /**
     * 工作地点父ID
     */
    @Column(name = "WORK_LOCATION_PARENT_ID")
    private Integer workLocationParentId;

    /**
     * 工作地点
     */
    @Column(name = "WORK_LOCATION")
    private String workLocation;

    /**
     * 机构id
     */
    @Column(name = "ORG_ID")
    private String orgId;

    @Column(name = "MODIFY_TIME")
    private Date modifyTime;

    @Column(name = "CREATE_TIME")
    private Date createTime;

    @Column(name = "USER_ID")
    private String userId;

    public Date getModifyTime() {
        return modifyTime;
    }

    public WorkLocation setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public WorkLocation setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public WorkLocation setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getOrgId() {
        return orgId;
    }

    public WorkLocation setOrgId(String orgId) {
        this.orgId = orgId;
        return this;
    }

    /**
     * 获取工作地点ID
     *
     * @return WORK_LOCATION_ID - 工作地点ID
     */
    public Integer getWorkLocationId() {
        return workLocationId;
    }

    /**
     * 设置工作地点ID
     *
     * @param workLocationId 工作地点ID
     */
    public void setWorkLocationId(Integer workLocationId) {
        this.workLocationId = workLocationId;
    }

    /**
     * 获取工作地点父ID
     *
     * @return WORK_LOCATION_PARENT_ID - 工作地点父ID
     */
    public Integer getWorkLocationParentId() {
        return workLocationParentId;
    }

    /**
     * 设置工作地点父ID
     *
     * @param workLocationParentId 工作地点父ID
     */
    public WorkLocation setWorkLocationParentId(Integer workLocationParentId) {
        this.workLocationParentId = workLocationParentId;
        return this;
    }

    /**
     * 获取工作地点
     *
     * @return WORK_LOCATION - 工作地点
     */
    public String getWorkLocation() {
        return workLocation;
    }

    /**
     * 设置工作地点
     *
     * @param workLocation 工作地点
     */
    public void setWorkLocation(String workLocation) {
        this.workLocation = workLocation;
    }
}